<template>
  <el-card class="box-card">
    <template #header>
      <div class="card-header">
        <span>列车时刻表</span>
        <div style="display: flex">
          <TrainNoInput></TrainNoInput>
          <el-button type="primary" :icon="Plus">添加列车时刻详情</el-button>
        </div>
      </div>
    </template>
    <ScheduleListTable></ScheduleListTable>
  </el-card>
</template>

<script setup>
import ScheduleListTable from './ScheduleListTable.vue'
import TrainNoInput from './TrainNoInput.vue'
import { Plus } from '@element-plus/icons-vue'
</script>

<style>
/* .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.box-card {
  margin-top: 1rem;
  width: 100%;
  border-radius: 1rem;
} */
</style>
